<template>
	<view class="card">
		<view >-</view>
		<slot>
			<view class="card-name">
		{{mingzi}}
		</view>
		</slot>
		
		<view >-</view>
		
	</view>
</template>

<script>
	export default{
		props:{
			mingzi:String
		}
	}
</script>

<style scoped>
	.card{
		padding: 20rpx 0;
		display: flex;
		justify-content: center;
		align-items: center;
		font-weight:bold;
	}
	.card-name{
		padding: 20rpx 0;
		font-size: 32rpx;
	}
</style>